//引入一个名为createApp的工厂函数
import { createApp } from 'vue'
import App from './App.vue'
import router from './router/index'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import axios from './utils/axiosPlugin'


//创建vue组件应用，并挂载
const app = createApp(App)
app.use(router).mount('#app')
app.use(ElementPlus)

app.config.globalProperties.$http = axios

